#pragma warning disable 108
using System;
using System.Runtime.InteropServices;
using System.Collections.Generic;
using Cephei;
using Cephei.Generic;
using Cephei.QL.Models.Marketmodels;
using Cephei.QL.Models.Marketmodels.Products;
namespace Cephei.QL.Models.Marketmodels.Products.Multistep
{
     // <summary> 
	// TODO: add payer/receiver choice
	// </summary>
    [Guid ("72895617-1B25-41e2-AB82-35EDEE11FF14"),ComVisible(true)]
	public interface IMultiStepSwap : Cephei.QL.Models.Marketmodels.Products.IMultiProductMultiStep
	{
		///////////////////////////////////////////////////////////////
        // Methods
        //
        
		 Boolean NextTimeStep(Cephei.QL.Models.Marketmodels.ICurveState currentState, Cephei.IVector<UInt64> numberCashFlowsThisStep, Cephei.IMatrix<Cephei.QL.Models.Marketmodels.IMarketModelMultiProductCashFlow> cashFlowsGenerated);
        
		 UInt64 MaxNumberOfCashFlowsPerProductPerStep {get;}
        
		 UInt64 NumberOfProducts {get;}
        
		 Cephei.IVector<Double> PossibleCashFlowTimes {get;}
        
		 IMultiStepSwap Reset {get;}
    }

    // <summary> 
	// TODO: add payer/receiver choice Factory
	// </summary>
   	[ComVisible(true)]
    public interface IMultiStepSwap_Factory // : Collection_Factory<IMultiStepSwap, ICell<IMultiStepSwap>>
    {
        ///////////////////////////////////////////////////////////////
        // Factory methods
        //
        
	    IMultiStepSwap Create (Cephei.IVector<Double> rateTimes, Cephei.IVector<Double> fixedAccruals, Cephei.IVector<Double> floatingAccruals, Cephei.IVector<Double> paymentTimes, Double fixedRate, Microsoft.FSharp.Core.FSharpOption<Boolean> payer);
    }
}

